Package-level declarations

Types

Link copied to clipboard

Number of data bits per serial frame (5 / 6 / 7 / 8).

Link copied to clipboard
@Serializable
data class SerialDeviceMetaData(val name: String = "", val hardwareId: String = "", val hardwareType: HardwareType = HardwareType.SERIAL, val status: NodeState = NodeState.CREATE_OR_OVERWRITE, val interval: Long = 5000, val baudRate: Int = 9600, val readTimeout: Int = 1000, val writeTimeout: Int = 0, val operation: SerialDeviceOperation = SerialDeviceOperation.READ, val timestamp: Long = 0, val dataBits: SerialDataBits = SerialDataBits.EIGHT, val parity: SerialParity = SerialParity.NONE, val stopBits: SerialStopBits = SerialStopBits.ONE, val flowControl: SerialFlowControl = SerialFlowControl.NONE, val encoding: SerialEncoding = SerialEncoding.UTF_8, val terminator: SerialTerminator = SerialTerminator.CR, val sendCommand: String = "R", val sources: List<NodeIdentity> = listOf(NodeIdentity("", "")), val snapshot: Snapshot = Snapshot(), val invocationTriggers: List<InvocationTrigger> = emptyList(), val nodeAction: NodeAction = NodeAction.EXECUTE, val error: String = "", val inputs: List<NodeIdentity> = emptyList()) : SourceMetaData

Payload for a Server.SerialDevice node.

Link copied to clipboard

Whether the serial device node is configured to read or write.

Link copied to clipboard
@Serializable
data class SerialDeviceTargetMetaData(val name: String, val target: String = "", val value: String = "", val error: String = "", val sources: List<NodeIdentity> = emptyList(), val snapshot: Snapshot = Snapshot(), val invocationTriggers: List<InvocationTrigger> = emptyList(), val nodeAction: NodeAction = NodeAction.EXECUTE, val inputs: List<NodeIdentity> = emptyList()) : SourceMetaData

Payload for the auxiliary "serial-device-target" node type that wraps a single named outbound write configuration.

Link copied to clipboard

Charset used to decode / encode serial traffic.

Link copied to clipboard

Hardware / software flow-control mode.

Link copied to clipboard

Parity bit configuration on the serial line.

Link copied to clipboard

Number of stop bits per serial frame.

Link copied to clipboard

Trailing line-terminator byte sequence for outbound serial commands.